﻿ALTER TABLE [dbo].[Alarm]
    ADD CONSTRAINT [ForeignKeyConstraintAlarmDocument] FOREIGN KEY ([id_document]) REFERENCES [dbo].[document] ([id_document]) ON DELETE NO ACTION ON UPDATE NO ACTION;

